<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

 <div class="form-group">
     
     <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属类型')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-pid" class="form-control selectpicker" name="row[type]">
           
                    <option value="0">用户</option>
                    <option value="1" >写手</option>
            </select>

        </div>
    </div>
    
    
          <div class="">
                <label class="control-label col-xs-12 col-sm-2">{:__('订单状态')}:
                
                </label>
               <div class="radio" >
                    {foreach name="orderList" item="vo"}
                       <label for="row[flag]-{$key}"><input id="row[flag]-{$key}" name="row[flag]" type="radio" value="{$key}"  /> {$vo}</label> 
                    {/foreach}
              </div>
        </div>
        
        
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" class="form-control" name="row[weigh]" type="number" value="0">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
